home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BCI NET
/
BCI NET Dec 94.iso
/
archives
/
telecomm
/
bbs
/
tbbs093.lha
/
Util
/
Cutfile.doc
< prev
next >
Wrap
Text File
|
1994-02-15
|
486b
|
11 lines
Cutfile is a simple utility that restricts the size of a file to a given
number of lines. This is useful for keeping your log files from getting
too large. To run Cutfile:
Cutfile <pattern> <max. lines>
Where the pattern is a filename and can include AmigaDOS wildcards. The
file(s) matching the pattern are scanned and cut if they are longer than
the maximum allowed number of lines. It is a good idea to have this run
automatically once a day (or even more often, if you wish).